package com.ruoyi.front.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同模板、常见问题关系对象 contract_template_problem
 * 
 * @author ruoyi
 * @date 2020-11-07
 */
public class ContractTemplateProblem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 合同模板id */
    @Excel(name = "合同模板id")
    private Long contractTemplateId;

    /** 常见问题id */
    @Excel(name = "常见问题id")
    private Long commonProblemId;

    /** 审核者 */
    @Excel(name = "审核者")
    private String checkBy;

    /** 审核时间 */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    private String contractTemplateTitle;
    private String commonProblemTitle;

    public void setContractTemplateTitle(String contractTemplateTitle){this.contractTemplateTitle=contractTemplateTitle;}
    public String getContractTemplateTitle(){return contractTemplateTitle;}

    public void setCommonProblemTitle(String commonProblemTitle){this.commonProblemTitle=commonProblemTitle;}
    public String getCommonProblemTitle(){return commonProblemTitle;}

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContractTemplateId(Long contractTemplateId) 
    {
        this.contractTemplateId = contractTemplateId;
    }

    public Long getContractTemplateId() 
    {
        return contractTemplateId;
    }
    public void setCommonProblemId(Long commonProblemId) 
    {
        this.commonProblemId = commonProblemId;
    }

    public Long getCommonProblemId() 
    {
        return commonProblemId;
    }
    public void setCheckBy(String checkBy) 
    {
        this.checkBy = checkBy;
    }

    public String getCheckBy() 
    {
        return checkBy;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractTemplateId", getContractTemplateId())
            .append("commonProblemId", getCommonProblemId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("checkBy", getCheckBy())
            .append("checkTime", getCheckTime())
            .append("remark", getRemark())
            .append("commonProblemTitle",getCommonProblemTitle())
            .append("contractTemplateTitle",getContractTemplateTitle())
            .toString();
    }
}
